package com.cf.wim.config;

import com.cf.user.login.UserSysConfig;
import com.cf.web.autoconfigure.WebCommonProperty;
import com.cf.wim.controller.ImFrontController;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * boot-awm-Config
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/6/27 下午 04:10
 */
@Slf4j
@Configuration
@AutoConfigureAfter(UserSysConfig.class)
public class WebImConfig {

    @Bean
    public ImFrontController imController() {
        log.info("实例化默认的ImFrontController");
        return new ImFrontController();
    }
}
